<template>
  <DatePicker :value="value" :format="format" @change="change" @input="input" :disabled="disabled" :type="type"></DatePicker>
</template>
<script>
export default {
  props: {
    multiple: {
      default: false,
    },
    disabled: {
      default: false,
    },
    value: "",
    format: {
      default: "YYYYMMDD",
    },
    type: {
      default: "date",
    },
  },
  data() {
    return {};
  },
  methods: {
    input(data) {
      this.$emit("input", data);
    },
    change(data) {
      this.$emit("change", data);
    },
  },
};
</script>